package com.ruoyi.training.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 培训计划试卷对象 tb_train_plan_paper
 *
 * @author wng
 * @date 2024-08-04
 */
public class TrainPlanPaper extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Long id;
    /**
     * 部门id
     */
    private Long deptId;

    /**
     * 培训计划id
     */
    @Excel(name = "培训计划id")
    private Long planId;

    /**
     * 标题
     */
    @Excel(name = "标题")
    private String title;

    /**
     * 0正常 1删除
     */
    private Integer delFlag;

    /**
     * 培训计划标题
     */
    @Excel(name = "培训计划标题")
    private String planTitle;

    public String getPlanTitle() {
        return planTitle;
    }

    public void setPlanTitle(String planTitle) {
        this.planTitle = planTitle;
    }

    public TrainPlanPaper() {
    }

    public TrainPlanPaper(Long planId, String title) {
        this.planId = planId;
        this.title = title;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public void setPlanId(Long planId) {
        this.planId = planId;
    }

    public Long getPlanId() {
        return planId;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getTitle() {
        return title;
    }

    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag() {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("deptId", getDeptId())
                .append("planId", getPlanId())
                .append("title", getTitle())
                .append("delFlag", getDelFlag())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
